package Servlet;

public class user {
    private String username;
    private String password;
    private String brithday;
    private String sex;
    private String hobby;
    private String sf;
    private String advice;

    public user() {
    }

    public String getUsername() {

        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getBrithday() {
        return brithday;
    }

    public void setBrithday(String brithday) {
        this.brithday = brithday;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getHobby() {
        return hobby;
    }

    public void setHobby(String hobby) {
        this.hobby = hobby;
    }

    public String getSf() {
        return sf;
    }

    public void setSf(String sf) {
        this.sf = sf;
    }

    public String getAdvice() {
        return advice;
    }

    public void setAdvice(String advice) {
        this.advice = advice;
    }

    @Override
    public String toString() {
        return "user{" +
                "username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", brithday='" + brithday + '\'' +
                ", sex='" + sex + '\'' +
                ", hobby='" + hobby + '\'' +
                ", sf='" + sf + '\'' +
                ", advice='" + advice + '\'' +
                '}';
    }

    public user(String username, String password, String brithday, String sex, String hobby, String sf, String advice) {
        this.username = username;
        this.password = password;
        this.brithday = brithday;
        this.sex = sex;
        this.hobby = hobby;
        this.sf = sf;
        this.advice = advice;
    }
}
